<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2021/6/23
  Time: 10:12
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>住院</title>
    <jsp:include page="../includes/header.jsp"/>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
    <jsp:include page="../includes/nav.jsp"/>

    <!-- Left side column. contains the logo and sidebar -->
    <jsp:include page="../includes/menu.jsp"/>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

        <section class="content-header">
            <h1>
                住院byj
            </h1>
            <br/>
            <small></small>
            <ol class="breadcrumb">
                <li><a href="main"><i class="fa fa-dashboard"></i> 首页</a></li>
                <li class="active">订单执行</li>
            </ol>
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">

                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">订单执行</h3>

                        </div>
                        <div class="box-body table-responsive">
                            <table id="dataTable" class="table table-hover table-bordered">
                                <thead>
                                <tr>
                                    <th><input type="checkbox" class="minimal icheck_master" /></th>
                                    <th>ID</th>
                                    <th>医院tcd</th>
                                    <th>部门mtcd</th>
                                    <th>病房cd</th>
                                    <th>dataclsf</th>
                                    <th>inoutclsf</th>
                                    <th>订单dt</th>
                                    <th>订单dtm</th>
                                    <th>订单数</th>
                                    <th>房号</th>
                                    <th>ptntnm</th>
                                    <th>ptntnum</th>
                                    <th>医生nm</th>
                                    <th>患者联系地址</th>
                                    <th>患者联系方式</th>
                                    <th>medcd</th>
                                    <th>mednm</th>
                                    <th>mednote</th>
                                    <th>medspec</th>
                                    <th>medunit</th>
                                    <th>useatcyn</th>
                                    <th>doselist</th>
                                    <th>服用日期</th>
                                    <th>takedt</th>
                                    <th>xmlflag</th>
                                    <th>drtscd</th>
                                    <th>住院病人id</th>
                                    <th>groupid</th>
                                    <th>fybid</th>

                                </tr>
                                </thead>
                                <tbody>
                                <c:forEach items="#{vizybyj}" var="info">
                                    <tr>
                                        <td><input id="${info.id}" type="checkbox" class="minimal" /></td>
                                        <td>${info.id}</td>
                                        <td>${info.hsptcd}</td>
                                        <td>${info.dptmtcd}</td>
                                        <td>${info.wardcd}</td>
                                        <td>${info.dataclsf}</td>
                                        <td>${info.inoutclsf}</td>
                                        <td>${info.orderdt}</td>
                                        <td>${info.orderdtm}</td>
                                        <td>${info.ordernum}</td>
                                        <td>${info.roomnum}</td>
                                        <td>${info.ptntnm}</td>
                                        <td>${info.ptntnum}</td>
                                        <td>${info.sex}</td>
                                        <td>${info.doctornm}</td>
                                        <td>${info.birthday}</td>
                                        <td>${info.ptntaddr}</td>
                                        <td>${info.ptnttel}</td>
                                        <td>${info.medcd}</td>
                                        <td>${info.mednm}</td>
                                        <td>${info.mednote}</td>
                                        <td>${info.medspec}</td>
                                        <td>${info.medunit}</td>
                                        <td>${info.useatcyn}</td>
                                        <td>${info.doselist}</td>
                                        <td>${info.takedays}</td>
                                        <td>${info.takedt}</td>
                                        <td>${info.xmlflag}</td>
                                        <td>${info.drtscd}</td>
                                        <td>${info.inpatientid}</td>
                                        <td>${info.groupid}</td>
                                        <td>${info.fybid}</td>

                                    </tr>
                                </c:forEach>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>

        </section>

    </div>
    <jsp:include page="../includes/copyright.jsp"/>
</div>
<jsp:include page="../includes/footer.jsp"/>
<script>
    $(function () {
        $("#dataTable").DataTable({
            "info":false,
            "paging":true,
            "lengthChange":false,
            "ordering":false,
            "searching":false,
            "severSide":true,
            "deferRender":true,
        });
    });
</script>
</body>
</html>
